﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommandBinding.Model
{
    public class Model : IModel
    {
        private string textBlockText;

        #region IModel Members

        /// <summary>
        /// Gets or sets the text block text.
        /// </summary>
        /// <value>The text block text.</value>
        string IModel.TextBlockText
        {
            get
            {
                // Get value from data base or Data Layer etc.
                this.textBlockText = "Hello Ravi";
                return this.textBlockText;
            }

            set
            {
                this.textBlockText = value;
            }
        }

        #endregion
    }
}
